package RMIBank;

import java.rmi.*;

public interface Account extends Remote {

    public String getName() throws RemoteException;

    public double getBalance() throws RemoteException;

    public void deposit(double amount) throws RemoteException;

    public void withdraw(double amount) throws RemoteException;
}
